package cn.edu.scau.cmi.liangzijian.adapter;

public class Student {
	private String name;
	private int id;
	
	public Student(int id, String name) {
		this.id= id; this.name = name;
	}
	
	public String getName() {
		return name;
	}
	
	public int getId() {
		return id;
	}
	
	@Override
	public String toString() {
		return String.format("学号：%06d, 姓名：%s", id, name);
	}
}
